package com.ruoyi.canteen.constant;

/**
 * 订单类型相关表
 * @Author Ryan
 * @Date 2021/9/28 19:19
 * @Version 1.0
 */
public class OrderType {
    // 订单类型1-线上点餐
    public static final Integer ORDER_TYPE_NORMAL = 1;
    // 订单类型2-线下堂食
    public static final Integer ORDER_TYPE_HALL = 2;

    public static final Integer ORDER_PAY_WX = 1;
    public static final Integer ORDER_PAY_CASH = 2;

    // 订单付费状态0-未支费
    public static final Integer ORDER_PAYFLAG_WZF = 0;
    // 订单付费状态1-已支费
    public static final Integer ORDER_PAYFLAG_YZF = 1;

    // 订单状态-已完成
    public static final Integer ORDER_STATUS_YFK = 5;
    // 订单状态-售后中（退货申请待审核）
    public static final Integer ORDER_STATUS_THDSH = 6;
    // 订单状态-交易关闭（退货审核不通过）
    public static final Integer ORDER_STATUS_THBTG = 7;
    // 订单状态-交易关闭（完成退款）
    public static final Integer ORDER_STATUS_THWC = 12;

    //订单配送状态0-未送达
    public static final Integer ORDER_SENDED_WSD = 0;
    //订单配送状态1-已送达
    public static final Integer ORDER_SENDED_YSD = 1;

    //订单退款状态1-待审核
    public static final Integer ORDER_RETURN_DSH = 1;
    //订单退款状态2-审核不通过
    public static final Integer ORDER_RETURN_SHBTG = 2;
    //订单退款状态2-审核通过
    public static final Integer ORDER_RETURN_SHTG = 3;

}
